package com.pen.changgou.goods.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 商品类目
 * 
 * @author yaodao
 * @email lfy@pen.changgou.com
 * @date 2020-11-30 23:31:44
 */
@ApiModel
@Data
@TableName("tb_category")
public class Category implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 分类ID
	 */
	@TableId
	@ApiModelProperty(name = "id",value = "分类ID")
	private Long id;
	/**
	 * 分类名称
	 */
	@ApiModelProperty(name = "name",value = "分类名称")
	private String name;
	/**
	 * 商品数量
	 */
	@ApiModelProperty(name = "goodsNum",value = "商品数量")
	private Integer goodsNum;
	/**
	 * 是否显示
	 */
	@ApiModelProperty(name = "isShow",value = "是否显示")
	private String isShow;
	/**
	 * 是否导航
	 */
	@ApiModelProperty(name = "isMenu",value = "是否导航")
	private String isMenu;
	/**
	 * 排序
	 */
	@ApiModelProperty(name = "seq",value = "排序")
	private Integer seq;
	/**
	 * 上级ID
	 */
	@ApiModelProperty(name = "parentId",value = "上级ID")
	private Integer parentId;
	/**
	 * 模板ID
	 */
	@ApiModelProperty(name = "templateId",value = "模板ID")
	private Integer templateId;

}
